package com.example.wacoffee_manage.Service;

import com.example.wacoffee_manage.common.PageResult;
import com.example.wacoffee_manage.pojo.Good;
import com.example.wacoffee_manage.pojo.Supply;

import java.util.List;

public interface supplyService {
    PageResult getAll(Supply supply);

    List<Good> getProductsBySupplyId(Integer id);

    void addStock(Integer id, Integer productId, Integer stock);

    Supply getSupplyById(Integer id);

    void update(Supply supply);

    void delete(Integer id);
}
